package com.ysd.lis.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.dto.InterfaceExtParamDto;
import com.ysd.lis.entity.SysInterfaceMethExtParam;

import java.util.List;

/**
 * <p>
 * 接口场景外源语句参数对照 服务类
 * </p>
 *
 * @author cfz
 * @since 2024-04-26
 */
public interface SysInterfaceMethExtParamService extends IService<SysInterfaceMethExtParam> {
    Result findSysInterfaceMethExtParamList(SysInterfaceMethExtParam sysInterfaceMethExtParam);

    List<SysInterfaceMethExtParam> findSysInterfaceMethExtParamArray(SysInterfaceMethExtParam sysInterfaceMethExtParam);

    Result addSysInterfaceMethExtParam(SysInterfaceMethExtParam sysInterfaceMethExtParam);

    /*批量操作，更新、新增*/
    Result batchSaveSysInterfaceMethExtParam(List<SysInterfaceMethExtParam> sysInterfaceMethExtParams);

    /*批量删除*/
    Result batchDeleteSysInterfaceMethExtParam(List<SysInterfaceMethExtParam> sysInterfaceMethExtParams);

    Result deleteSysInterfaceMethExtParam(SysInterfaceMethExtParam sysInterfaceMethExtParam);

    Result updateSysInterfaceMethExtParam(SysInterfaceMethExtParam sysInterfaceMethExtParam);

    JSONObject execExtParam(InterfaceExtParamDto dto);
}
